package com.ecloud.discovery.eureka;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
/**
 * 使用Eureka做服务发现.
 * 
 * @author xushuqin
 */
@SpringBootApplication
@EnableEurekaServer
public class EurekaApplication {
	public static void main(String[] args) {
		//SpringApplication.run(EurekaApplication.class, args);
		new SpringApplicationBuilder(EurekaApplication.class).web(true).run(args); 
	}
}
